package com.wmm.fast.main.shop2TemplateMethod;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Auther: Token360
 * @Date: 2018/9/7 14:34
 * @Description:
 */
public abstract class AbstractOperation {
    private Logger log = LoggerFactory.getLogger(AbstractOperation.class);

    public void commonsOperation() {
        log.info("此处为业务或算法中的公共部分 :此为变化部分[{}]",diffOperation());
    }

    protected  abstract String diffOperation();
}
